# 作业
age = 19
count = 0
while count <= 3:
    count += 1
    person = int(input("猜一猜我的年龄："))
    if person == age:
        print("你猜对了")
        break
    else:
        print("你猜错了")
    if count == 3:
        choose = input('想继续游戏吗？yes or no:')
        if choose == "yes":
            count = 0
        elif choose == "no":
            break
        else:
            print('请输入正确标记')
            count -= 1